package com.mspbots.web.core.model;

import lombok.Data;

import java.time.LocalDateTime;
import java.util.Set;

/**
 * com.mspbots.web.core.model.TenantUser
 *
 * @author Alex bob(https://github.com/vnobo)
 * @date Created by 2019/11/20
 */
@Data
public class TenantUser {

    protected Long id;
    protected Long tenantId;
    private Long cwUid;
    private Long tenantRoleId;
    private String identifier;
    private String firstname;
    private String lastname;
    private String email;
    private LocalDateTime createDate;
    private Long manager;
    private String software;
    private Boolean enable;
    private transient String teamsUserId;
    private transient String teamsUserName;
    private transient Long tsheetUserId;
    private transient String tsheetUserName;
    private transient String managerUserName;

    private String username;
    private Set<String> authorities;
    private Boolean enabled;
    private LocalDateTime lastModified;
    private LocalDateTime lastLogin;
    private LocalDateTime created;


    private LocalDateTime updateTime;

    private LocalDateTime syncTime;

}
